<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>安卓自动兼容测试系统</title>
<script src="/Terminator/js/jquery-3.0.0.min.js">
	
</script>
<link href="/Terminator/css/Share.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="/Terminator/js/interfaceHeader.js">
	
</script>
<script src="/Terminator/js/angular.min.js"></script>
<script src="/Terminator/js/bootstrap.min.js" type="text/javascript"></script>
<link href="/Terminator/css/bootstrap.min.css" rel="stylesheet" />

<script src="/Terminator/js/angular-animate.min.js">
	
</script>
<script src="/Terminator/js/toaster.min.js">
	
</script>
<link href="/Terminator/css/toaster.min.css" rel="stylesheet" />
</head>
<body ng-app='interfaceHeaderApp' ng-controller='interfaceHeaderCtrl'>
	<div align="center">
		<toaster-container></toaster-container>
	</div>
	<div id="selectResult"
		style="height: 100%; width: 100%; overflow-x: visible; overflow-y: visible;">
		<div class=" rowcol-md-12 panel panel-primary panel-body"
			style="height: 100%">
			<!--搜索工具栏开始-->
			<div class="input-group col-md-4 pull-right"
				style="width: 100%; height: 7%">

				<div style="float: right; width: 40%; margin-top: 2px;">
					<input type="text" placeholder="请输入要过滤的关键字" class="form-control"
						ng-change='thChange()' ng-model="id" maxlength="20" size="20"
						style="width: 60%; height: 80%" />
					<div class="input-group-btn" style="width: 40%; float: right;">
						<!--面板标题/头部-->
						<button type="button" class="btn btn-info" ng-click='unbind()'>解除绑定</button>

						<button type="button" class="btn btn-info"
							style="margin-left: 2px;" ng-click='addtemp()'>新增</button>
					</div>

				</div>
			</div>
			<!--搜索工具栏结束-->
			<!--绑定表格开始-->
			<div style="width: 100%; height: 95%; overflow: scroll;">
				<table id="tb" border="1" cellspacing="0"
					style="table-layout: fixed; width: 100%"
					class="table table-striped table-bordered table-hover table-responsive">
					<tr>
						<th ng-show='showTh' style="width: 20%">url</th>
						<th ng-show='showTh' style="display: none;">usersid</th>
						<th ng-show='showTh' style="width: 10%">loginName</th>
						<th ng-show='showTh' style="width: 10%">passWord</th>
						<th ng-show='showTh' style="width: 10%">sysver</th>
						<th ng-show='showTh' style="width: 10%">phonemodel</th>
						<th ng-show='showTh' style="width: 10%">appver</th>
						<th ng-show='showTh' style="width: 10%">platform</th>
						<th ng-show='showTh' style="width: 10%">imsi</th>
						<th ng-show='showTh' style="width: 10%">操作</th>
						<!--上面是乐贝通客户端的头部，下面是外勤通web的请求头-->
						<th ng-show='showWqtWeb' style="display: none;">usersid</th>
						<th ng-show='showWqtWeb' style="width: 30%">url</th>
						<th ng-show='showWqtWeb' style="width: 20%">userName</th>
						<th ng-show='showWqtWeb' style="width: 20%">Password</th>
						<th ng-show='showWqtWeb' style="width: 10%">企业编号</th>
						<th ng-show='showWqtWeb' style="width: 20%">操作</th>
						<!--上面是外勤通web的请求头，下面是郑州铁塔web请求头-->
						<th ng-show='showzzttWeb' style="display: none;">usersid</th>
						<th ng-show='showzzttWeb' style="width: 30%">url</th>
						<th ng-show='showzzttWeb' style="width: 20%">userName</th>
						<th ng-show='showzzttWeb' style="width: 20%">Password</th>
						<th ng-show='showzzttWeb' style="width: 15%">enamesubcomp</th>
						<th ng-show='showzzttWeb' style="width: 15%">操作</th>
					</tr>
					<!--重复项开始，设置排序字段，数据源，names代表数据源，x表示names中遍历的每一个对象，id表示模糊搜索输入的内容，要与输入的input的ng-model一致，col表示排序名称，要与表头中一致-->
					<tr ng-repeat="x in names">
						<td ng-show='showTh' ng-click="show(x.url)"
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.url}}</td>
						<td ng-show='showTh'
							style="overflow: hidden; display: none; white-space: nowrap; text-shadow: gray;">{{x.usersid}}</td>
						<td ng-show='showTh'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.loginname}}</td>
						<td ng-show='showTh'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.password}}</td>
						<td ng-show='showTh'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.sysver}}</td>
						<td ng-show='showTh'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.phonemodel}}</td>
						<td ng-show='showTh'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.appver}}</td>
						<td ng-show='showTh'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.platform}}</td>
						<td ng-show='showTh'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.imsi}}</td>
						<td ng-show='showTh'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">
							<button class="btn-mine" ng-click="useTemp_lbt(x,isUseBtn(x))">{{isUseBtn(x)}}</button>
							<button ng-click="deleteTemp(x)">删除</button>
						</td>
						<!--上面是乐贝通客户端的头部，下面是外勤通web的请求头-->
						<td ng-show='showWqtWeb'
							style="overflow: hidden; display: none; white-space: nowrap; text-shadow: gray;">{{x.usersid}}</td>
						<td ng-show='showWqtWeb' ng-click="show(x.url)"
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.url}}</td>
						<td ng-show='showWqtWeb' ng-click="show(x.userName)"
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.userName}}</td>
						<td ng-show='showWqtWeb'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.userPassword}}</td>
						<td ng-show='showWqtWeb'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.v_qy_Num}}</td>
						<td ng-show='showWqtWeb'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">
							<button class="btn-mine" ng-click="useTemp_lbt(x,isUseBtn(x))">{{isUseBtn(x)}}</button>
							<button ng-click="deleteTemp(x)">删除</button>
						</td>
						<!--上面是外勤通web的请求头，下面是铁塔web的请求头-->

						<td ng-show='showzzttWeb'
							style="overflow: hidden; display: none; white-space: nowrap; text-shadow: gray;">{{x.usersid}}</td>
						<td ng-show='showzzttWeb' ng-click="show(x.url)"
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.url}}</td>
						<td ng-show='showzzttWeb' ng-click="show(x.username)"
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.username}}</td>
						<td ng-show='showzzttWeb'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.password}}</td>
						<td ng-show='showzzttWeb'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">{{x.enamesubcomp}}</td>
						<td ng-show='showzzttWeb'
							style="overflow: hidden; white-space: nowrap; text-shadow: gray;">
							<button class="btn-mine" ng-click="useTemp_lbt(x,isUseBtn(x))">{{isUseBtn(x)}}</button>
							<button ng-click="deleteTemp(x)">删除</button>
						</td>
					</tr>
				</table>
			</div>
			<!--绑定表格结束-->
			<popup ng-show="isShow">
			<div class="mod-popup-example">{{showText}}</div>
			</popup>
		</div>
	</div>
	<div class="overlay" id="spm" style="display: none;"></div>
	<!-- 将弹出层下面的页面变成不可操作状态，成半透明状态 -->
	<div class="Popup" style="display: none">
		<!-- 隐藏div -->
		<div class="Popup_top">
			<input type="button" value="关闭" class="ClosePopu" align="middle"
				style="float: left; margin-top: auto;" ng-click='pupuClose()' /> <input
				type="button" value="提交" class="ClosePopu" align="middle"
				style="float: left; margin-top: auto;" ng-click='saveTemp()' /><input
				type="text" ng-model='project_tem' size="20" class="form-control"
				style="width: 30%; margin-top: 8px;" ng-change="changePro_tem()">
		</div>
		<div class="Popup_cen">
			<table width="100%" border="0" cellspacing="0" cellpadding="0"
				class="BD_tab">
				<!-- 铁塔web -->
				<tr ng-show='zzttWebShow'>
					<td style="width: 110px;" align="right">zzttweburl:</td>
					<td><input type="text" ng-model='zzttweburl'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='zzttWebShow'>
					<td style="width: 110px;" align="right">userName:</td>
					<td><input type="text" ng-model='zzttuserName'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='zzttWebShow'>
					<td style="width: 110px;" align="right">password:</td>
					<td><input type="text" ng-model='zzttuserPassword'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='zzttWebShow'>
					<td style="width: 110px;" align="right">enamesubcomp:</td>
					<td><input id="name" ng-model='zzttenamesubcomp'> <font
						color="red">*</font></td>
				</tr>

				<!-- 外勤web -->
				<tr ng-show='wqtWebShow'>
					<td style="width: 110px;" align="right">wqtweburl:</td>
					<td><input type="text" ng-model='wqtweburl'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='wqtWebShow'>
					<td style="width: 110px;" align="right">userName:</td>
					<td><input type="text" ng-model='userName'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='wqtWebShow'>
					<td style="width: 110px;" align="right">userPassword:</td>
					<td><input type="text" ng-model='userPassword'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='wqtWebShow'>
					<td style="width: 110px;" align="right">v_qy_Num:</td>
					<td><input id="name" ng-model='v_qy_Num'> <font
						color="red">*</font></td>
				</tr>
				<!-- 乐贝通手机端 -->
				<tr ng-show='lbtShow'>
					<td style="width: 110px;" align="right">url:</td>
					<td><input type="text" ng-model='url'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='lbtShow'>
					<td style="width: 110px;" align="right">loginName:</td>
					<td><input type="text" ng-model='loginName'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='lbtShow'>
					<td style="width: 110px;" align="right">platform:</td>
					<td><input id="name" ng-model='platform'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='lbtShow'>
					<td style="width: 110px;" align="right">sysver:</td>
					<td><input type="text" ng-model='sysver'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='lbtShow'>
					<td style="width: 110px;" align="right">phonemodel:</td>
					<td><input type="text" ng-model='phonemodel'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='lbtShow'>
					<td style="width: 110px;" align="right">passWord:</td>
					<td><input type="text" ng-model='passWord'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='lbtShow'>
					<td style="width: 110px;" align="right">appver:</td>
					<td><input type="text" ng-model='appver'> <font
						color="red">*</font></td>
				</tr>
				<tr ng-show='lbtShow'>
					<td style="width: 110px;" align="right">imsi:</td>
					<td><input type="text" ng-model='imsi'> <font
						color="red">*</font></td>
				</tr>
			</table>
		</div>
	</div>
</body>
</html>
